package cn.exrick.pojo;

import java.util.List;

import lombok.Data;

/**
 * 商品SKU分类类目关联商品
 */
@Data
public class TbItemSkuGoodCat extends BasePojo {

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Long fatherItemSkuGoodCatId;//上级本表id(表内关联),注意这里是关联上一级的attrId

    private String name;

    //==========================================================
    private List<TbItemSkuGoodCatAttr> attrs;

    private TbItemSkuGoodCatAttr attr;//单个下一级时用

	public Long getFatherItemSkuGoodCatId() {
		return fatherItemSkuGoodCatId;
	}

	public void setFatherItemSkuGoodCatId(Long fatherItemSkuGoodCatId) {
		this.fatherItemSkuGoodCatId = fatherItemSkuGoodCatId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<TbItemSkuGoodCatAttr> getAttrs() {
		return attrs;
	}

	public void setAttrs(List<TbItemSkuGoodCatAttr> attrs) {
		this.attrs = attrs;
	}

	public TbItemSkuGoodCatAttr getAttr() {
		return attr;
	}

	public void setAttr(TbItemSkuGoodCatAttr attr) {
		this.attr = attr;
	}

}
